package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产台账对象 ac_asset_info
 *
 * @author ruoyi
 * @date 2025-02-18
 */
public class AcAssetInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产id */
    private Long assetId;

    /** 资产编号-主 */
    @Excel(name = "资产编号-主")
    private Long assetNumMaster;

    /** 资产编号-附 */
    @Excel(name = "资产编号-附")
    private Long assetNumAttached;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 自定义编号 */
    @Excel(name = "自定义编号")
    private String assetCustomNum;

    /** 资产地址-省份 */
    @Excel(name = "资产地址-省份")
    private String assetAddressProvince;

    /** 资产地址-市 */
    @Excel(name = "资产地址-市")
    private String assetAddressCity;

    /** 资产地址-区 */
    @Excel(name = "资产地址-区")
    private String assetAddressDistrict;

    /** 资产地址-经度 */
    @Excel(name = "资产地址-经度")
    private String assetLon;

    /** 资产地址-维度 */
    @Excel(name = "资产地址-维度")
    private String assetLat;

    /** 资产地址 */
    @Excel(name = "资产地址")
    private String assetAddress;

    /** 资产门牌号 */
    @Excel(name = "资产门牌号")
    private String assetDoorNum;

    /** 资产单元号 */
    @Excel(name = "资产单元号")
    private String assetUnitNum;

    /** 资产室号 */
    @Excel(name = "资产室号")
    private String assetRoomNum;

    /** 房屋类型：
     0：普宅
     1：别墅
     2：商铺
     3：写字楼
     4：厂房
     5：仓库
     6：土地
     7：车位
     .... */
    @Excel(name = "房屋类型：0：普宅1：别墅2：商铺3：写字楼4：厂房5：仓库6：土地7：车位....")
            private String assetHouseType;

            /** 资产面积 */
            @Excel(name = "资产面积")
            private String assetArea;

            /** 账面原值 */
            @Excel(name = "账面原值")
            private String assetOriginalValue;

            /** 建成日期 */
            @Excel(name = "建成日期")
            private String assetEstablishDate;

            /** 产权年限 */
            @Excel(name = "产权年限")
            private String assetOwnershipLength;

            /** 产权单位 */
            @Excel(name = "产权单位")
            private String assetPropertyUnit;

            /** 资产状态：
            0：闲置
            1：在租
            2：自用 */
            @Excel(name = "资产状态： 0：闲置1：在租2：自用")
                    private String assetStatus;

                    /** 资产照片路径 */
                    @Excel(name = "资产照片路径")
                    private String assetImg;

                    /** 资产备注 */
                    @Excel(name = "资产备注")
                    private String assetRemark;

                    /** 资产入库时间 */
                    @JsonFormat(pattern = "yyyy-MM-dd")
                    @Excel(name = "资产入库时间", width = 30, dateFormat = "yyyy-MM-dd")
            private Date assetDate;

            /** 资产删除标识：
            0：正常
            1：删除 */
            @Excel(name = "资产删除标识：0：正常 1：删除")
                    private Integer assetIsDelete;

            /** 删除标志（0代表存在 2代表删除） */
            private String delFlag;

            /** 部门ID */
            @Excel(name = "部门ID")
            private Long deptId;
            /** 资产所属单元 */
            /** 资产变更原因  **/
            private String assetReason;
            private Long acUid;

            private String leaseStartDate;
            private String leaseEndDate;
            private String customerName;
            private String customerLinkman;

            private String commonMonth;
            private String commonCount;


    public String getAssetReason() {
        return assetReason;
    }

    public void setAssetReason(String assetReason) {
        this.assetReason = assetReason;
    }

    public String getCommonMonth() {
        return commonMonth;
    }

    public void setCommonMonth(String commonMonth) {
        this.commonMonth = commonMonth;
    }

    public String getCommonCount() {
        return commonCount;
    }

    public void setCommonCount(String commonCount) {
        this.commonCount = commonCount;
    }

    public String getLeaseEndDate() {
        return leaseEndDate;
    }

    public void setLeaseEndDate(String leaseEndDate) {
        this.leaseEndDate = leaseEndDate;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerLinkman() {
        return customerLinkman;
    }

    public void setCustomerLinkman(String customerLinkman) {
        this.customerLinkman = customerLinkman;
    }

    public String getLeaseStartDate() {
        return leaseStartDate;
    }

    public void setLeaseStartDate(String leaseStartDate) {
        this.leaseStartDate = leaseStartDate;
    }

    public Long getAcUid() {
        return acUid;
    }

    public void setAcUid(Long acUid) {
        this.acUid = acUid;
    }

    public void setAssetId(Long assetId)
            {
            this.assetId = assetId;
            }

            public Long getAssetId()
            {
            return assetId;
            }
            public void setAssetNumMaster(Long assetNumMaster)
    {
        this.assetNumMaster = assetNumMaster;
    }

    public Long getAssetNumMaster()
    {
        return assetNumMaster;
    }
    public void setAssetNumAttached(Long assetNumAttached)
    {
        this.assetNumAttached = assetNumAttached;
    }

    public Long getAssetNumAttached()
    {
        return assetNumAttached;
    }
    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }
    public void setAssetCustomNum(String assetCustomNum)
    {
        this.assetCustomNum = assetCustomNum;
    }

    public String getAssetCustomNum()
    {
        return assetCustomNum;
    }
    public void setAssetAddressProvince(String assetAddressProvince)
    {
        this.assetAddressProvince = assetAddressProvince;
    }

    public String getAssetAddressProvince()
    {
        return assetAddressProvince;
    }
    public void setAssetAddressCity(String assetAddressCity)
    {
        this.assetAddressCity = assetAddressCity;
    }

    public String getAssetAddressCity()
    {
        return assetAddressCity;
    }
    public void setAssetAddressDistrict(String assetAddressDistrict)
    {
        this.assetAddressDistrict = assetAddressDistrict;
    }

    public String getAssetAddressDistrict()
    {
        return assetAddressDistrict;
    }
    public void setAssetLon(String assetLon)
    {
        this.assetLon = assetLon;
    }

    public String getAssetLon()
    {
        return assetLon;
    }
    public void setAssetLat(String assetLat)
    {
        this.assetLat = assetLat;
    }

    public String getAssetLat()
    {
        return assetLat;
    }
    public void setAssetAddress(String assetAddress)
    {
        this.assetAddress = assetAddress;
    }

    public String getAssetAddress()
    {
        return assetAddress;
    }
    public void setAssetDoorNum(String assetDoorNum)
    {
        this.assetDoorNum = assetDoorNum;
    }

    public String getAssetDoorNum()
    {
        return assetDoorNum;
    }
    public void setAssetUnitNum(String assetUnitNum)
    {
        this.assetUnitNum = assetUnitNum;
    }

    public String getAssetUnitNum()
    {
        return assetUnitNum;
    }
    public void setAssetRoomNum(String assetRoomNum)
    {
        this.assetRoomNum = assetRoomNum;
    }

    public String getAssetRoomNum()
    {
        return assetRoomNum;
    }
    public void setAssetHouseType(String assetHouseType)
    {
        this.assetHouseType = assetHouseType;
    }

    public String getAssetHouseType()
    {
        return assetHouseType;
    }
    public void setAssetArea(String assetArea)
    {
        this.assetArea = assetArea;
    }

    public String getAssetArea()
    {
        return assetArea;
    }
    public void setAssetOriginalValue(String assetOriginalValue)
    {
        this.assetOriginalValue = assetOriginalValue;
    }

    public String getAssetOriginalValue()
    {
        return assetOriginalValue;
    }
    public void setAssetEstablishDate(String assetEstablishDate)
    {
        this.assetEstablishDate = assetEstablishDate;
    }

    public String getAssetEstablishDate()
    {
        return assetEstablishDate;
    }
    public void setAssetOwnershipLength(String assetOwnershipLength)
    {
        this.assetOwnershipLength = assetOwnershipLength;
    }

    public String getAssetOwnershipLength()
    {
        return assetOwnershipLength;
    }
    public void setAssetPropertyUnit(String assetPropertyUnit)
    {
        this.assetPropertyUnit = assetPropertyUnit;
    }

    public String getAssetPropertyUnit()
    {
        return assetPropertyUnit;
    }
    public void setAssetStatus(String assetStatus)
    {
        this.assetStatus = assetStatus;
    }

    public String getAssetStatus()
    {
        return assetStatus;
    }
    public void setAssetImg(String assetImg)
    {
        this.assetImg = assetImg;
    }

    public String getAssetImg()
    {
        return assetImg;
    }
    public void setAssetRemark(String assetRemark)
    {
        this.assetRemark = assetRemark;
    }

    public String getAssetRemark()
    {
        return assetRemark;
    }
    public void setAssetDate(Date assetDate)
    {
        this.assetDate = assetDate;
    }

    public Date getAssetDate()
    {
        return assetDate;
    }
    public void setAssetIsDelete(Integer assetIsDelete)
    {
        this.assetIsDelete = assetIsDelete;
    }

    public Integer getAssetIsDelete()
    {
        return assetIsDelete;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("assetId", getAssetId())
                .append("assetNumMaster", getAssetNumMaster())
                .append("assetNumAttached", getAssetNumAttached())
                .append("assetName", getAssetName())
                .append("assetCustomNum", getAssetCustomNum())
                .append("assetAddressProvince", getAssetAddressProvince())
                .append("assetAddressCity", getAssetAddressCity())
                .append("assetAddressDistrict", getAssetAddressDistrict())
                .append("assetLon", getAssetLon())
                .append("assetLat", getAssetLat())
                .append("assetAddress", getAssetAddress())
                .append("assetDoorNum", getAssetDoorNum())
                .append("assetUnitNum", getAssetUnitNum())
                .append("assetRoomNum", getAssetRoomNum())
                .append("assetHouseType", getAssetHouseType())
                .append("assetArea", getAssetArea())
                .append("assetOriginalValue", getAssetOriginalValue())
                .append("assetEstablishDate", getAssetEstablishDate())
                .append("assetOwnershipLength", getAssetOwnershipLength())
                .append("assetPropertyUnit", getAssetPropertyUnit())
                .append("assetStatus", getAssetStatus())
                .append("assetImg", getAssetImg())
                .append("assetRemark", getAssetRemark())
                .append("assetDate", getAssetDate())
                .append("assetIsDelete", getAssetIsDelete())
                .append("delFlag", getDelFlag())
                .append("deptId", getDeptId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
